package cpt202.project.entity;
//
public class Book {
    private int id;
    private String useremail;
    private String bookname;

    public Book() {
    }

    public Book(String useremail, String bookname) {
        this.useremail = useremail;
        this.bookname = bookname;
    }


    public Book(int id, String useremail, String bookname) {
        this.id = id;
        this.useremail = useremail;
        this.bookname = bookname;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUseremail() {
        return useremail;
    }

    public void setUseremail(String useremail) {
        this.useremail = useremail;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", useremail='" + useremail + '\'' +
                ", bookname='" + bookname + '\'' +
                '}';
    }


}
